//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================
#ifndef __ELASTOS_KERNEL_MEMORY_DETECT_H__
#define __ELASTOS_KERNEL_MEMORY_DETECT_H__

#if defined(KERNEL_MEMORY_DETECT)

EXTERN Void KMemSetCheckPoint(UInt32 uCP);
EXTERN Void KMemCmpCP(UInt32 uCP1,
                      UInt32 uCP2 = KMEM_CURRENT_POINT,
                      Boolean bDetail = FALSE);

EXTERN Void KMemInit();
#define KMEM_INIT KMemInit();

#else

#define KMEM_INIT

#endif //KERNEL_MEMORY_DETECT

#endif //__ELASTOS_KERNEL_MEMORY_DETECT_H__
